package com.jianyun.jyzs.bean;


import java.util.List;

/**
 * Created by mlli on 2017/10/6.
 */

public class SafeUpdateResponse extends Response {

    @Override
    public String toString() {
        return "SafeUpdateResponse{" +
                "deleted=" + deleted +
                ", message=" + message +
                ", result=" + result +
                ", vo=" + vo +
                '}';
    }

    private boolean deleted;
    private String message;
    private boolean result;
    private VoBeanX vo;

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public VoBeanX getVo() {
        return vo;
    }

    public void setVo(VoBeanX vo) {
        this.vo = vo;
    }

    public static class VoBeanX {
        @Override
        public String toString() {
            return "VoBeanX{" +
                    "attachmentVersion=" + attachmentVersion +
                    ", nodeVersion=" + nodeVersion +
                    ", nodes=" + nodes +
                    ", orderId=" + orderId +
                    ", version=" + version +
                    ", vo=" + vo +
                    ", attachments=" + attachments +
                    '}';
        }

        private int attachmentVersion;
        private int nodeVersion;
        private String nodes;
        private String orderId;
        private int version;
        private VoBean vo;
        private List<WorkOrderUpdateResponse.VoBeanX.AttachmentsBean> attachments;

        public int getAttachmentVersion() {
            return attachmentVersion;
        }

        public void setAttachmentVersion(int attachmentVersion) {
            this.attachmentVersion = attachmentVersion;
        }

        public int getNodeVersion() {
            return nodeVersion;
        }

        public void setNodeVersion(int nodeVersion) {
            this.nodeVersion = nodeVersion;
        }

        public String getNodes() {
            return nodes;
        }

        public void setNodes(String nodes) {
            this.nodes = nodes;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public VoBean getVo() {
            return vo;
        }

        public void setVo(VoBean vo) {
            this.vo = vo;
        }

        public List<WorkOrderUpdateResponse.VoBeanX.AttachmentsBean> getAttachments() {
            return attachments;
        }

        public void setAttachments(List<WorkOrderUpdateResponse.VoBeanX.AttachmentsBean> attachments) {
            this.attachments = attachments;
        }

        public static class VoBean {
            @Override
            public String toString() {
                return "VoBean{" +
                        "po=" + po +
                        ", userIds=" + userIds +
                        '}';
            }

            private SafeInsResponse.SafeBean po;
            private List<String> userIds;

            public SafeInsResponse.SafeBean getPo() {
                return po;
            }

            public void setPo(SafeInsResponse.SafeBean po) {
                this.po = po;
            }

            public List<String> getUserIds() {
                return userIds;
            }

            public void setUserIds(List<String> userIds) {
                this.userIds = userIds;
            }


        }
    }
}
